
package hasthi.container;

import hasthi.common.HasthiException;
import hasthi.manager.ManagerContext;

import org.apache.xmlbeans.XmlObject;

/**
 * This interface provides generic Message Processing. This interface different communication mediums e.g. (HTTP and P2P) and
 * actual managment logic
 * @author Srinath Perera(hperera@cs.indiana.edu)
 */

public interface MessageProcessor {
    //public ManagerContext getManagerContext();
    public void addContainer(CommunicationContianier container)throws HasthiException;
    public XmlObject processMessage(MessageContext messageContext)throws HasthiException;
}

